package org.example.myleet.p1408;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.JsonUtils;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("[\"as\",\"hero\"]".equals(JsonUtils.toJson(solution.stringMatching(new String[]{"mass","as","hero","superhero"}))));
        Assert.isTrue("[\"et\",\"code\"]".equals(JsonUtils.toJson(solution.stringMatching(new String[]{"leetcode","et","code"}))));
        Assert.isTrue("[]".equals(JsonUtils.toJson(solution.stringMatching(new String[]{"blue","green","bu"}))));
    }
}
